package ModelLayer;	
import java.io.Serializable;


@SuppressWarnings("serial")
public class Parent extends Person implements Serializable
{
    private int parentID;
    private String workPhone;
    private int grownupID;
    
    public Parent()
    {
    	
    }
    
    public Parent(int parentID)
    {
    	this.parentID = parentID;
    }
	
    public Parent(int personID, String fName, String lName, String address, int postalCode, String city, String phoneNr, String mobileNr, String email, int parentID, String workPhone, int grownupID)
    {
    	super(personID, fName, lName, address, postalCode, city, phoneNr, mobileNr, email);
        this.parentID = parentID;
        this.workPhone = workPhone;
        this.grownupID = grownupID;
    }

	public int getParentID() {
		return parentID;
	}

	public void setParentID(int parentID) {
		this.parentID = parentID;
	}

	public String getWorkPhone() {
		return workPhone;
	}

	public void setWorkPhone(String workPhone) {
		this.workPhone = workPhone;
	}

	public int getGrownupID() {
		return grownupID;
	}

	public void setGrownupID(int grownupID) {
		this.grownupID = grownupID;
	}

}
